package org.nf.shopping.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.shopping.entity.Employee;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-11-27
 */
public interface EmployeeMapper {
    List<Employee> listEmployee(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("name") String name);

    void updateEmployee(Employee employee);

    void deloneEmployee(Integer id);

    void addEmployee(Employee employee);

    List<Employee> getEmployeeList();

}
